class Test {
    public interface One {
        public void invoke();
    }

    public interface Two {
        public void invoke();
        public void invoke2();
    }

    public static class Three implements One,Two {
        @Override
        public void invoke() {
            System.out.println("invoke");
        }

        @Override
        public void invoke2() {
            System.out.println("invoke2");
        }
    }
    public static void main(String [] args) {
        Three object = new Three();
        object.invoke();

    }
}
